package com.itheima.reggie.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode
public class Excel {
    @ExcelProperty(value = {"订单号"})
    private String number;

    @ExcelProperty(value = {"订单状态"})
    private Integer status;

    @ExcelProperty(value = {"用户"})
    private String userName;

    @ExcelProperty(value = {"手机号"})
    private String phone;

    @ExcelProperty(value = {"地址"})
    private String address;

    @ExcelProperty(value = {"下单时间"})
    private LocalDateTime orderTime;

    @ExcelProperty(value = {"实收金额"})
    private BigDecimal amount;
}
